import request from '@/utils/newRequest'

// 获取宣讲会列表
export function getTechInArr(params) {
  return request({
    url: '/seminars',
    method: 'get',
    params
  })
}

// 删除宣讲会
export function deleteTeachIn(id) {
  return request({
    url: '/seminars/' + id,
    method: 'delete'
  })
}

// 查看宣讲会
export function getSeminars(id) {
  return request({
    url: '/seminars/' + id,
    method: 'get'
  })
}

// 宣讲会审核
export function putSeminars(id, params) {
  return request({
    url: '/seminars/' + id,
    method: 'put',
    params
  })
}
